package com.treemon.meetingcore.event
{
	import com.treemon.meetingcore.ExtObj.UserDesc;
	
	import flash.utils.Dictionary;
	
	
	public class UserEvent extends XMLEventBase
	
	
	{
		public static const AddUser: String = "core:user:add";
		public static const StateChange: String = "core:user:state";
		public static const RemoveUser: String = "core:user:remove";
		
		
		private  var _userList:Dictionary = new Dictionary();
		
		public function UserEvent(type:String)
		{
			super(type);
		}
		public function get userList():Dictionary
		{
			return _userList;
		}
		
		public function addUser(userinfo:UserDesc):void
		{
			if (_userList[userinfo._jid]==null)
			{
			   _userList[userinfo._jid] = userinfo;
			}
			
		}
		

		
		
		
	}
}